<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/include/taglib.jsp"%>
<html>
<head>
<meta charset="UTF-8">
<title>我要投资-转让项目详情</title>
<jsp:include page="/include/wchat/head.jsp"></jsp:include>
<link type="text/css" rel="stylesheet" href="/v2/wchat/resrc/css/invest.css">
</head>
<body>
<div id="header"> <a href="/wchatDebtList.do" class="backto">返回</a>
  <div class="title-sub">转让项目详情</div>
</div>
<div id="wrap">
  <div class="loan-transfer">
    <div class="invest-detail"><b class="icon-qiang"></b>
      <h1>
	      <s:if test="%{#request.debtDetailMap.borrowProduct == 2}">月利宝  ${debtDetailMap.SN}</s:if>
		  <s:elseif test="%{#request.debtDetailMap.borrowProduct == 3}">季发宝  ${debtDetailMap.SN}</s:elseif>
		  <s:elseif test="%{#request.debtDetailMap.borrowProduct == 4}">稳盈宝  ${debtDetailMap.borrowNumber}</s:elseif>    
      </h1>
      <%--
      <ul class="items">
          <li class="c1">债权价值</li>
          <li class="c2">￥${debtDetailMap.principal + debtDetailMap.interest}</li>
      </ul>
      <ul class="items">
        <li class="c1">年化利率</li>
        <li class="c2 per">${debtDetailMap.realAnnualRate }%</li>
      </ul>
      
      <ul class="items">
        <li class="c1">还款方式</li>
        <li class="c2">
			<s:if test="%{#request.debtDetailMap.isDayThe ==2}">一次性还本付息</s:if>
			<s:elseif test="%{#request.debtDetailMap.paymentMode == 1}">按月等额本息还款</s:elseif>
			<s:elseif test="%{#request.debtDetailMap.paymentMode == 2}">按月付息,到期还本</s:elseif>
			<s:elseif test="%{#request.debtDetailMap.paymentMode == 4}">一次性偿还本息</s:elseif> 
		</li>
      </ul>
      <ul class="items">
        <li class="c1">安全保障</li>
        <li class="c2 safe">100%本息保障</li>
      </ul>
      <ul class="items">
         <li class="c1">下次回款日期</li>
         <li class="c2"> ${debtDetailMap.nextRepayDate }</li>
      </ul>
      --%>
      <ul class="items">
         <li class="c1">转让价格</li>
         <li class="c2">￥${debtDetailMap.debtSum }</li>
      </ul>
      <ul class="items">
         <li class="c1">实际收益率</li>
         <li class="c2">${debtDetailMap.realAnnualRate }%</li>
      </ul>
      <ul class="items">
         <li class="c1">剩余期数</li>
         <li class="c2"> ${debtDetailMap.deadline - debtDetailMap.hasDeadline }个月</li>
      </ul>
      <ul class="items">
          <li class="c1">债权价值</li>
          <li class="c2">￥${debtDetailMap.principal + debtDetailMap.interest}</li>
      </ul>
      <ul class="items">
		<li class="c1">
			当前状态
		</li>
		<li class="c2">
			<s:if test="%{#request.debtDetailMap.debtStatus == 2}">
				<span class="status">可投资</span>
			</s:if>
			<s:elseif test="%{#request.debtDetailMap.debtStatus == 3}">
				<span class="status">已转让</span>
			</s:elseif>
			<s:elseif test="%{#request.debtDetailMap.debtStatus == 4}">
				<span class="status">失败</span>
			</s:elseif>
			<s:elseif test="%{#request.debtDetailMap.debtStatus == 5}">
				<span class="status">撤销</span>
			</s:elseif>
		</li>
	  </ul>
            </div>
            <div class="itip">转让项目需全额购买</div>
            <ul class="invest-money">
              <li class="c1">转让价格</li>
              <li class="c2"><ins>￥</ins>
                ${debtDetailMap.debtSum }
              </li>
            </ul>
			<s:if test="%{#request.debtDetailMap.debtStatus == 2}">
	            <div class="operate-button operate-buy"> <a href="/loanDebtDetailInvest.do?id=${debtDetailMap.id }" class="btn">我要投资</a> </div>
			</s:if>
        
        
      
      
    <div class="link-touch transer-link">
      <ul class="items">
        <li data-url="/loanDebtDescription.do?id=${debtDetailMap.id}"><span class="txt">产品说明</span><b class="icon-arrow-r"></b></li>
        <li data-url="/debtInvestRecord.do?pid=${debtDetailMap.parentBId}&id=${debtDetailMap.id}"><span class="txt">投资记录</span><b class="icon-arrow-r"></b></li>
        <li data-url="/getWchatInfoDisclosureByDid.do?id=${debtDetailMap.id}"
			class="touch">
			<span class="txt">信息披露</span><b class="icon-arrow-r"></b>
		</li>
        <s:if test="%{#request.debtDetailMap.borrowProduct == 2}"><li data-url="/wchatHelp.do?d=ylb&f=ylbFaq"><span class="txt">常见问题</span><b class="icon-arrow-r"></b></li></s:if>
		<s:elseif test="%{#request.debtDetailMap.borrowProduct == 3}"><li data-url="/wchatHelp.do?d=jfb&f=jfbFaq"><span class="txt">常见问题</span><b class="icon-arrow-r"></b></li></s:elseif>
		<s:elseif test="%{#request.debtDetailMap.borrowProduct == 4}"><li data-url="/wchatHelp.do?d=wyb&f=wybFaq"><span class="txt">常见问题</span><b class="icon-arrow-r"></b></li></s:elseif>
        
      </ul>
    </div>
    
    <s:if test="%{#request.debtDetailMap.borrowProduct == 2}"><div class="more-items"><a href="/yuexitong/index.do">查看更多月利宝项目</a></div></s:if>
	<s:elseif test="%{#request.debtDetailMap.borrowProduct == 3}"><div class="more-items"><a href="/yuexitong/index.do">查看更多季发宝项目</a></div></s:elseif>
	<s:elseif test="%{#request.debtDetailMap.borrowProduct == 4}"><div class="more-items"><a href="/yuexitong/index.do">查看更多稳盈宝项目</a></div></s:elseif>    
  </div>
</div>

<jsp:include page="/include/wchat/footer.jsp"></jsp:include>


</body>
</html>